package com.demo.model.base;

import java.util.ArrayList;
import java.util.List;

public class TableColumnInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TableColumnInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestIsNull() {
            addCriterion("online_uat_test is null");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestIsNotNull() {
            addCriterion("online_uat_test is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestEqualTo(Integer value) {
            addCriterion("online_uat_test =", value, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestNotEqualTo(Integer value) {
            addCriterion("online_uat_test <>", value, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestGreaterThan(Integer value) {
            addCriterion("online_uat_test >", value, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestGreaterThanOrEqualTo(Integer value) {
            addCriterion("online_uat_test >=", value, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestLessThan(Integer value) {
            addCriterion("online_uat_test <", value, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestLessThanOrEqualTo(Integer value) {
            addCriterion("online_uat_test <=", value, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestIn(List<Integer> values) {
            addCriterion("online_uat_test in", values, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestNotIn(List<Integer> values) {
            addCriterion("online_uat_test not in", values, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestBetween(Integer value1, Integer value2) {
            addCriterion("online_uat_test between", value1, value2, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andOnlineUatTestNotBetween(Integer value1, Integer value2) {
            addCriterion("online_uat_test not between", value1, value2, "onlineUatTest");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNull() {
            addCriterion("TABLE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNotNull() {
            addCriterion("TABLE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andTableNameEqualTo(String value) {
            addCriterion("TABLE_NAME =", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotEqualTo(String value) {
            addCriterion("TABLE_NAME <>", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThan(String value) {
            addCriterion("TABLE_NAME >", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThanOrEqualTo(String value) {
            addCriterion("TABLE_NAME >=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThan(String value) {
            addCriterion("TABLE_NAME <", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThanOrEqualTo(String value) {
            addCriterion("TABLE_NAME <=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLike(String value) {
            addCriterion("TABLE_NAME like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotLike(String value) {
            addCriterion("TABLE_NAME not like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameIn(List<String> values) {
            addCriterion("TABLE_NAME in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotIn(List<String> values) {
            addCriterion("TABLE_NAME not in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameBetween(String value1, String value2) {
            addCriterion("TABLE_NAME between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotBetween(String value1, String value2) {
            addCriterion("TABLE_NAME not between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andColumnNameIsNull() {
            addCriterion("COLUMN_NAME is null");
            return (Criteria) this;
        }

        public Criteria andColumnNameIsNotNull() {
            addCriterion("COLUMN_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andColumnNameEqualTo(String value) {
            addCriterion("COLUMN_NAME =", value, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameNotEqualTo(String value) {
            addCriterion("COLUMN_NAME <>", value, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameGreaterThan(String value) {
            addCriterion("COLUMN_NAME >", value, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameGreaterThanOrEqualTo(String value) {
            addCriterion("COLUMN_NAME >=", value, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameLessThan(String value) {
            addCriterion("COLUMN_NAME <", value, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameLessThanOrEqualTo(String value) {
            addCriterion("COLUMN_NAME <=", value, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameLike(String value) {
            addCriterion("COLUMN_NAME like", value, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameNotLike(String value) {
            addCriterion("COLUMN_NAME not like", value, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameIn(List<String> values) {
            addCriterion("COLUMN_NAME in", values, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameNotIn(List<String> values) {
            addCriterion("COLUMN_NAME not in", values, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameBetween(String value1, String value2) {
            addCriterion("COLUMN_NAME between", value1, value2, "columnName");
            return (Criteria) this;
        }

        public Criteria andColumnNameNotBetween(String value1, String value2) {
            addCriterion("COLUMN_NAME not between", value1, value2, "columnName");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNull() {
            addCriterion("DATA_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNotNull() {
            addCriterion("DATA_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andDataTypeEqualTo(String value) {
            addCriterion("DATA_TYPE =", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotEqualTo(String value) {
            addCriterion("DATA_TYPE <>", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThan(String value) {
            addCriterion("DATA_TYPE >", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_TYPE >=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThan(String value) {
            addCriterion("DATA_TYPE <", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThanOrEqualTo(String value) {
            addCriterion("DATA_TYPE <=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLike(String value) {
            addCriterion("DATA_TYPE like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotLike(String value) {
            addCriterion("DATA_TYPE not like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeIn(List<String> values) {
            addCriterion("DATA_TYPE in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotIn(List<String> values) {
            addCriterion("DATA_TYPE not in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeBetween(String value1, String value2) {
            addCriterion("DATA_TYPE between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotBetween(String value1, String value2) {
            addCriterion("DATA_TYPE not between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataLengthIsNull() {
            addCriterion("DATA_LENGTH is null");
            return (Criteria) this;
        }

        public Criteria andDataLengthIsNotNull() {
            addCriterion("DATA_LENGTH is not null");
            return (Criteria) this;
        }

        public Criteria andDataLengthEqualTo(String value) {
            addCriterion("DATA_LENGTH =", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthNotEqualTo(String value) {
            addCriterion("DATA_LENGTH <>", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthGreaterThan(String value) {
            addCriterion("DATA_LENGTH >", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_LENGTH >=", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthLessThan(String value) {
            addCriterion("DATA_LENGTH <", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthLessThanOrEqualTo(String value) {
            addCriterion("DATA_LENGTH <=", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthLike(String value) {
            addCriterion("DATA_LENGTH like", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthNotLike(String value) {
            addCriterion("DATA_LENGTH not like", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthIn(List<String> values) {
            addCriterion("DATA_LENGTH in", values, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthNotIn(List<String> values) {
            addCriterion("DATA_LENGTH not in", values, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthBetween(String value1, String value2) {
            addCriterion("DATA_LENGTH between", value1, value2, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthNotBetween(String value1, String value2) {
            addCriterion("DATA_LENGTH not between", value1, value2, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionIsNull() {
            addCriterion("DATA_PRECISION is null");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionIsNotNull() {
            addCriterion("DATA_PRECISION is not null");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionEqualTo(String value) {
            addCriterion("DATA_PRECISION =", value, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionNotEqualTo(String value) {
            addCriterion("DATA_PRECISION <>", value, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionGreaterThan(String value) {
            addCriterion("DATA_PRECISION >", value, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_PRECISION >=", value, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionLessThan(String value) {
            addCriterion("DATA_PRECISION <", value, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionLessThanOrEqualTo(String value) {
            addCriterion("DATA_PRECISION <=", value, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionLike(String value) {
            addCriterion("DATA_PRECISION like", value, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionNotLike(String value) {
            addCriterion("DATA_PRECISION not like", value, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionIn(List<String> values) {
            addCriterion("DATA_PRECISION in", values, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionNotIn(List<String> values) {
            addCriterion("DATA_PRECISION not in", values, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionBetween(String value1, String value2) {
            addCriterion("DATA_PRECISION between", value1, value2, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andDataPrecisionNotBetween(String value1, String value2) {
            addCriterion("DATA_PRECISION not between", value1, value2, "dataPrecision");
            return (Criteria) this;
        }

        public Criteria andNullableIsNull() {
            addCriterion("NULLABLE is null");
            return (Criteria) this;
        }

        public Criteria andNullableIsNotNull() {
            addCriterion("NULLABLE is not null");
            return (Criteria) this;
        }

        public Criteria andNullableEqualTo(String value) {
            addCriterion("NULLABLE =", value, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableNotEqualTo(String value) {
            addCriterion("NULLABLE <>", value, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableGreaterThan(String value) {
            addCriterion("NULLABLE >", value, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableGreaterThanOrEqualTo(String value) {
            addCriterion("NULLABLE >=", value, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableLessThan(String value) {
            addCriterion("NULLABLE <", value, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableLessThanOrEqualTo(String value) {
            addCriterion("NULLABLE <=", value, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableLike(String value) {
            addCriterion("NULLABLE like", value, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableNotLike(String value) {
            addCriterion("NULLABLE not like", value, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableIn(List<String> values) {
            addCriterion("NULLABLE in", values, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableNotIn(List<String> values) {
            addCriterion("NULLABLE not in", values, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableBetween(String value1, String value2) {
            addCriterion("NULLABLE between", value1, value2, "nullable");
            return (Criteria) this;
        }

        public Criteria andNullableNotBetween(String value1, String value2) {
            addCriterion("NULLABLE not between", value1, value2, "nullable");
            return (Criteria) this;
        }

        public Criteria andDataDefaultIsNull() {
            addCriterion("DATA_DEFAULT is null");
            return (Criteria) this;
        }

        public Criteria andDataDefaultIsNotNull() {
            addCriterion("DATA_DEFAULT is not null");
            return (Criteria) this;
        }

        public Criteria andDataDefaultEqualTo(String value) {
            addCriterion("DATA_DEFAULT =", value, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultNotEqualTo(String value) {
            addCriterion("DATA_DEFAULT <>", value, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultGreaterThan(String value) {
            addCriterion("DATA_DEFAULT >", value, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_DEFAULT >=", value, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultLessThan(String value) {
            addCriterion("DATA_DEFAULT <", value, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultLessThanOrEqualTo(String value) {
            addCriterion("DATA_DEFAULT <=", value, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultLike(String value) {
            addCriterion("DATA_DEFAULT like", value, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultNotLike(String value) {
            addCriterion("DATA_DEFAULT not like", value, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultIn(List<String> values) {
            addCriterion("DATA_DEFAULT in", values, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultNotIn(List<String> values) {
            addCriterion("DATA_DEFAULT not in", values, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultBetween(String value1, String value2) {
            addCriterion("DATA_DEFAULT between", value1, value2, "dataDefault");
            return (Criteria) this;
        }

        public Criteria andDataDefaultNotBetween(String value1, String value2) {
            addCriterion("DATA_DEFAULT not between", value1, value2, "dataDefault");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}